package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电影放映时间模板，具体放映时间从模板生成对象 ticket_template_movie_show_time
 * 
 * @author ruoyi
 * @date 2022-01-10
 */
public class TicketTemplateMovieShowTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 放映厅编号 */
    @Excel(name = "放映厅编号")
    private Long showNumber;

    /** 放映厅名字 */
    @Excel(name = "放映厅名字")
    private String showName;

    /** 票量 */
    @Excel(name = "票量")
    private Integer ticketCount;

    /** 放映开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "放映开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date playStartDate;

    /** 放映结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "放映结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date playEndDate;

    /** 放映时间 */
//    @JsonFormat(pattern = "HH:mm")
    @Excel(name = "放映时间", width = 30)
    private String playTime;

    /** 电影ID */
    @Excel(name = "电影ID")
    private Long movieId;

    /** 电影名称 */
    @Excel(name = "电影名称")
    private String movieName;

    /** 是否删除，0否，1删除 */
    @Excel(name = "是否删除，0否，1删除")
    private Integer isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShowNumber(Long showNumber) 
    {
        this.showNumber = showNumber;
    }

    public Long getShowNumber() 
    {
        return showNumber;
    }
    public void setShowName(String showName) 
    {
        this.showName = showName;
    }

    public String getShowName() 
    {
        return showName;
    }
    public void setTicketCount(Integer ticketCount) 
    {
        this.ticketCount = ticketCount;
    }

    public Integer getTicketCount() 
    {
        return ticketCount;
    }
    public void setPlayStartDate(Date playStartDate) 
    {
        this.playStartDate = playStartDate;
    }

    public Date getPlayStartDate() 
    {
        return playStartDate;
    }
    public void setPlayEndDate(Date playEndDate) 
    {
        this.playEndDate = playEndDate;
    }

    public Date getPlayEndDate()
    {
        return playEndDate;
    }
    public void setPlayTime(String playTime)
    {
        this.playTime = playTime;
    }

    public String getPlayTime()
    {
        return playTime;
    }
    public void setMovieId(Long movieId) 
    {
        this.movieId = movieId;
    }

    public Long getMovieId() 
    {
        return movieId;
    }
    public void setMovieName(String movieName) 
    {
        this.movieName = movieName;
    }

    public String getMovieName() 
    {
        return movieName;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("showNumber", getShowNumber())
            .append("showName", getShowName())
            .append("ticketCount", getTicketCount())
            .append("playStartDate", getPlayStartDate())
            .append("playEndDate", getPlayEndDate())
            .append("playTime", getPlayTime())
            .append("movieId", getMovieId())
            .append("movieName", getMovieName())
            .append("isDel", getIsDel())
            .toString();
    }
}
